package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 通告管理表对象 notice
 *
 * @author ruoyi
 * @date 2023-10-17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Notice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 通告标题 */
    @Excel(name = "通告标题")
    private String noticeTitle;

    /** 接收人电子邮箱 */
    @Excel(name = "接收人电子邮箱")
    private String receiverEmail;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 通告内容 */
    @Excel(name = "通告内容")
    private String noticeContent;

    /** 发布状态:1已发布，2未发布 */
    @Excel(name = "发布状态:1已发布，2未发布")
    private String status;

    private Long type;
}
